package com.ws.admin.action;

import static org.junit.Assert.*;

import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.ws.client.action.CLoginAction;

public class ALoginActionTest {

	@Test
	public void testExecute() throws Exception {
		ApplicationContext ac=new ClassPathXmlApplicationContext(new String[]{"applicationContext.xml"});
		ALoginAction aLoginAction=(ALoginAction) ac.getBean("aLoginAction");
		String str = aLoginAction.execute();
		System.out.println("str : "+str);
	}

}
